#ifndef QIMAGECHOOSEDIALOG_H
#define QIMAGECHOOSEDIALOG_H

#include <QDialog>

namespace Ui {
class QImageChooseDialog;
}

namespace CORELIB
{
    class QResourceTreeWidget;
    class QImageChooseDialog : public QDialog
    {
        Q_OBJECT

    public:
        explicit QImageChooseDialog(QWidget *parent = 0);
        ~QImageChooseDialog();

        void    getImage(QString &firstName,QString &lastName);
    private:
        Ui::QImageChooseDialog *ui;
    protected:
        QResourceTreeWidget *m_imageList;
    private slots:
        void on_okBtn_clicked();
        void on_cancelBtn_clicked();
        void doubleSelect(const QString &firstName,const QString &lastName);
    protected:
        QString     m_firstName;
        QString     m_lastName;
    };

}
#endif // QIMAGECHOOSEDIALOG_H
